package java101;

public class FibonacciTwo {



	public static void main(String[] args) {

		int first = 0;

		int second = 1;

		int total;

		System.out.println(first);

		System.out.println(second);

		for (int i=0; i<25; i++)

		{

			total = first + second ;

			double 	quotient = (double) total / second ;

			String format = String.format("%d + %d = %d, q = %.13f", first , second , total, quotient);

			System.out.println(format);

			first  = second ;

			second  = total;

		}

	}



}

